package com.example.huadi1.mapper;

import com.example.huadi1.dto.Course;
import com.example.huadi1.dto.Demand;

import javax.annotation.PostConstruct;
import java.util.List;

public interface DemandMapper {
    Demand selectDemand(int textbookId);
    void insertDemand(Demand demand);

    void updateDemand(Demand demand);

    void deleteDemand(int textbookId);
    List<Demand> selectAllPassDemand();
    List<Demand> selectDemandsByDepartmentId(int departmentId);
    void confirmDemand(Integer departmentId);
    List<Demand> getAllDemand();
    void rejectDemandById(Integer id);
    void acceptDemandById(Integer id);
    void initDemand();
}